<?php
namespace frontend\models;

use Yii;
use frontend\models\util\HttpUtil;

/**
 * 违法信息
 */
class Illegal {
    public static function getList($carNo = null, $bodyNo = null, $lastId = 0) {
        //TODO 发送网络请求，从第三方服务获取数据
        $params = array(
            'jdchphm' => $carNo,
            'fdj' => $bodyNo,
            'lastId' => $lastId,
        );
        return HttpUtil::doPostSimple("http://localhost/index.php/testdata/illegal", $params);
    }
}

?>
